package top.greatxiaozou.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import top.greatxiaozou.pojo.Admin;

@Repository
@Mapper
public interface AdminMapper {

    @Select("select * from admin where name = #{name}")
    Admin selectAdminByName(String name);
}
